package com.jumi.microservice.dto.order;

import com.jumi.microservice.common.base.dto.BaseRequest;

import java.util.Date;

/**
 * @author Dirk
 * @date 2020-10-13 16:37
 */
public class ActivityUserSalesRequest extends BaseRequest {
    private static final long serialVersionUID = -852953197150753323L;

    /**
     * 用户id
     */
    private Long uid;

    /**
     * 商品suid
     */
    private Long spuId;

    /**
     * 限购时间
     */
    private Date date;

    /**
     * 已购买订单次数
     */
    private Integer buyNum;

    /**
     * 其中未支付订单数
     */
    private Integer noPayBuyNum;

    /**
     * 已购买的数量
     */
    private Integer orderNum;

    /**
     * 限购数量
     */
    private Integer amount;

    /**
     * 限购次数
     */
    private Integer times;

    /**
     * 限购时间
     */
    private Integer delayDay;

    /**
     * 活动ID
     */
    private Integer activityId = 0;

    /**
     * 活动类型
     */
    private Integer activityType = 0;


//    public ActivityUserSalesRequest(Long uid, Long spuId, Date date, Integer buyNum, Integer noPayBuyNum, Integer orderNum, Integer amount, Integer times, Integer delayDay) {
//        this.uid = uid;
//        this.spuId = spuId;
//        this.date = date;
//        this.buyNum = buyNum;
//        this.noPayBuyNum = noPayBuyNum;
//        this.orderNum = orderNum;
//        this.amount = amount;
//        this.times = times;
//        this.delayDay = delayDay;
//    }


    public ActivityUserSalesRequest(Long uid, Long spuId, Date date, Integer buyNum, Integer noPayBuyNum, Integer orderNum, Integer amount, Integer times, Integer delayDay, Integer activityId,Integer activityType) {
        this.uid = uid;
        this.spuId = spuId;
        this.date = date;
        this.buyNum = buyNum;
        this.noPayBuyNum = noPayBuyNum;
        this.orderNum = orderNum;
        this.amount = amount;
        this.times = times;
        this.delayDay = delayDay;
        this.activityId = activityId;
        this.activityType = activityType;
    }

    public Integer getActivityType() {
        return activityType;
    }

    public void setActivityType(Integer activityType) {
        this.activityType = activityType;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Long getSpuId() {
        return spuId;
    }

    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getBuyNum() {
        return buyNum;
    }

    public void setBuyNum(Integer buyNum) {
        this.buyNum = buyNum;
    }

    public Integer getNoPayBuyNum() {
        return noPayBuyNum;
    }

    public void setNoPayBuyNum(Integer noPayBuyNum) {
        this.noPayBuyNum = noPayBuyNum;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getTimes() {
        return times;
    }

    public void setTimes(Integer times) {
        this.times = times;
    }

    public Integer getDelayDay() {
        return delayDay;
    }

    public void setDelayDay(Integer delayDay) {
        this.delayDay = delayDay;
    }
}
